package org.hhy.cloud.crawl.monitor.event;

import org.hhy.cloud.crawl.dto.CustomSpiderStatusEventDto;
import org.springframework.context.ApplicationEvent;

/**
 * Description: 爬虫监控
 *
 * @Author lht
 * @Date 2020/11/3 10:30 PM
 **/
public class CustomSpiderEvent extends ApplicationEvent {


    public CustomSpiderEvent(CustomSpiderStatusEventDto dto) {
        super(dto);
    }


    @Override
    public CustomSpiderStatusEventDto getSource() {
        return (CustomSpiderStatusEventDto) super.getSource();
    }
}
